<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
	<title>凯盛项目管理系统</title>
	<link rel="stylesheet" type="text/css" href="css/bootstrap.min.css" />
	<script type="text/javascript" src="http://lib.sinaapp.com/js/jquery/1.7.2/jquery.min.js"></script>
	<script type="text/javascript" src="js/bootstrap.min.js"></script>
	<style type="text/css">
		body{
			background-image:url(img/bb.jpg);
			background-repeat:repeat-x;
		}
	</style>
</head>

<body class="body">
	
	<%@ include file="include/main-top.jsp" %>
	
	<div class="container">
		<div class="row">
		<jsp:include page="include/left.jsp">
			<jsp:param value="file" name="tag"/>
		</jsp:include>
		<div class="span9">
			<ul class="breadcrumb" style="margin-bottom:0px;border-radius: 3px 3px 0 0;margin-top:15px">
				<li class="active">

					<a href="#"><i class="icon-th"></i>文件列表</a>
				</li>
				<li class="pull-right"><i class="icon-plus"></i><a href="addfiles.jspx?projectid=<%=session.getAttribute("projectid")%>&employeeid=<%=session.getAttribute("employeeid")%>" class="link-black">创建文件夹</a></li>
			</ul>
			<div class="wall">
				<table class="table table-striped">
					<thead>
						<tr>

							<th width="30px"></th>
							<th width="45%">名称</th>
							<th width="35%">大小</th>
							<th>创建人</th>
						</tr>
					</thead>
					<tbody>
					
						<c:forEach  items="${filesList}" var="f">
							<tr>
								<td>
									<img src="img/file.png"/>
								</td>
								<td><a href="files.jspx?projectid=<%=session.getAttribute("projectid")%>&employeeid=<%=session.getAttribute("employeeid")%>&filesid=${f.id}">${f.name}</a></td>
								
								<td>该文件夹个文件${f.size}kb</td>	
								<td>${f.employee.username}</td>
							</tr>
						</c:forEach>
					</tbody>
				</table>
			</div>
			
			
		</div>
	  </div>
	</div>
</body>
  
</html>
